# -*- coding: utf-8 -*-

"""am的各个依赖关系"""

#包的依赖， 格式为  {包名: }
pkg_dependents = {
    'django': {'module': ['sqlite3', 'MySQLdb']},
    'twisted': {'module': ['OpenSSL', 'Crypto', 'zope.interface', 'pyasn1']},
    'MySQLdb': {'rpm': ['mysql-devel']},
    'paramiko': {'module': ['Crypto']}
}

#安装包的信息，格式为  {序号: (模块名, 安装文件名, 安装方式(src,rpm,egg),)}
pkg_info = {
    'django': {'src': ('Django-1.1.1.tar.gz',)},
    'twisted': {'src': ('Twisted-10.0.0.tar.bz2',)},
    'sqlite3': {'src': ('pysqlite-2.6.0.tar.gz',)},
    'MySQLdb': {'src': ('MySQL-python-1.2.3c1.tar.gz',)},
    'OpenSSL': {'src': ('pyOpenSSL-0.10.tar.gz',)},
    'Crypto': {'src': ('pycrypto-2.1.0.tar.gz',)},
    'zope.interface': {'src': ('zope.interface-3.5.3.tar.gz',)},
    'pyasn1': {'src': ('pyasn1-0.0.11a.tar.gz',)},
    'paramiko': {'src': ('paramiko-1.7.6.tar.gz',)}
}

